package com.bitcola.security.otc.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;

@Data
@Table(name = "ag_admin_v1.merchant")

public class Merchant {
    @Id
            @Column(name="user_id")
    String userId;
    @Column(name="allow_sell")

    Boolean allowSell;
    @Column(name="allow_buy")

    Boolean allowBuy;
    @Column(name="sell_price")

    BigDecimal sellPrice;
    @Column(name="buy_price")

    BigDecimal buyPrice;
    @Column(name="is_online")

    Boolean isOnline;

    @Column(name="name")
    String name;



}
